﻿<%@ Page Language="C#" MasterPageFile="~/WebMaster/WebMaster.master" AutoEventWireup="true"
    CodeFile="ProductCategory.aspx.cs" Inherits="WebMaster_ProductCategory" Theme="WebMaster" %>

<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Register Assembly="Gss.Web.Controls" Namespace="Gss.Web.Controls" TagPrefix="cc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" runat="Server">
    <asp:Panel ID="pnlList" runat="server" BorderWidth="0px">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td align="center" style="padding-right: 10px; padding-left: 10px; padding-bottom: 0px;
                    padding-top: 0px">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td>
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblListText" runat="server" Text="Label" Visible="false"></asp:Label>
                                        </td>
                                        <td class="action">
                                            <asp:LinkButton ID="lkbAddNew" runat="server" OnClick="lkbAddNew_Click">LinkButton</asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Panel ID="pnlData" runat="server" BorderWidth="0px">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td class="gridBorder">
                                                <asp:GridView ID="grdData" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                                    CellPadding="4" EnableViewState="False" GridLines="None" OnRowDataBound="grdData_RowDataBound"
                                                    OnRowDeleting="grdData_RowDeleting" OnRowEditing="grdData_RowEditing" Width="100%">
                                                    <SelectedRowStyle CssClass="gridSelect" />
                                                    <Columns>
                                                        <asp:BoundField DataField="IDCategory" HeaderText="IDCategory" Visible="False" />
                                                        <asp:BoundField DataField="Title" HeaderText="Title">
                                                            <ItemStyle Width="260px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="ParentID" HeaderText="ParentID">
                                                            <ItemStyle Width="260px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="Padding" HeaderText="Padding" />
                                                        <asp:CommandField ShowCancelButton="False" ShowEditButton="True" />
                                                        <asp:CommandField ShowDeleteButton="True" />
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                    <RowStyle CssClass="gridRow" />
                                                    <AlternatingRowStyle CssClass="gridAlternating" />
                                                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                                                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                                                </asp:GridView>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="gridPaging">
                                                <cc1:GPaging ID="gssPaging" runat="server" OnCommand="gssPaging_Command"></cc1:GPaging>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pnlAddEdit" runat="server" BorderWidth="0px">
        <table id="Table1" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td align="center" class="actName">
                    <asp:Label ID="lblActionName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Panel ID="pnlMain" runat="server" Width="100%">
                        <table id="Table8" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                </td>
                                <td width="10">
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" class="messageError" colspan="4">
                                    &nbsp;
                                    <asp:Label ID="lblTempID" runat="server" Visible="False"></asp:Label>
                                    <asp:Label ID="lblMessage" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" class="content">
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" class="content">
                                    <asp:Label ID="Label5" runat="server" ForeColor="Red">*</asp:Label>
                                    <asp:Label ID="lblTitle" runat="server"></asp:Label>
                                </td>
                                <td>
                                </td>
                                <td class="error">
                                    <asp:TextBox ID="txtTitle" runat="server" MaxLength="250" SkinID="email"></asp:TextBox>&nbsp;
                                    <asp:RequiredFieldValidator ID="reqTitle" runat="server" ControlToValidate="txtTitle"
                                        EnableClientScript="False" ErrorMessage="(*)" ValidationGroup="a"></asp:RequiredFieldValidator>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" class="content">
                                    <asp:Label ID="lblParent" runat="server"></asp:Label>
                                </td>
                                <td>
                                </td>
                                <td class="error">
                                    <asp:DropDownList ID="ddlParent" runat="server" SkinID="ddlCity">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" class="content" valign="top">
                                    <asp:Label ID="lblStyle" runat="server"></asp:Label>
                                </td>
                                <td>
                                </td>
                                <td class="error">
                                    <asp:TextBox ID="txtStyle" runat="server" MaxLength="250" SkinID="email"></asp:TextBox>
                                </td>
                                <td class="error" valign="top">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td class="content">
                                </td>
                                <td class="requiredfile">
                                    <asp:Label ID="reqField" runat="server"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td class="error">
                                    <asp:Button ID="btnSave" runat="server" CssClass="btnCom" OnClick="btnSave_Click"
                                        Text="Save" ValidationGroup="a" />
                                    <asp:Button ID="btnContinuous" runat="server" CssClass="btnPri" OnClick="btnContinuous_Click"
                                        Text="Save and Con" ValidationGroup="a" />
                                    <asp:Button ID="btnClear" runat="server" CssClass="btnCom" OnClick="btnClear_Click"
                                        Text="Reset" />
                                    <asp:Button ID="btnCancel" runat="server" CssClass="btnCom" OnClick="btnCancel_Click"
                                        Text="Cancel" />
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td align="center">
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pnlDelete" runat="server" BorderWidth="0px">
        <table id="Table2" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td align="center" class="actName">
                    <asp:Label ID="lblActionNameDelete" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="center" class="messageError">
                    &nbsp;<asp:Label ID="lblMessageDelete" runat="server"></asp:Label>&nbsp;
                </td>
            </tr>
            <tr>
                <td align="center">
                    <table border="1" bordercolor="#330000" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <table border="0" cellpadding="0" cellspacing="0" width="400">
                                    <tr>
                                        <td class="deletedConfirm">
                                            <asp:Label ID="lblDelete" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" class="deletedConfirmMessage" valign="top">
                                            <asp:Label ID="lblDeletedMessage" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="height: 30px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center">
                                            <asp:Button ID="btnYes" runat="server" CssClass="btnCom" OnClick="btnYes_Click" ValidationGroup="a" />
                                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                                            <asp:Button ID="btnNo" runat="server" CssClass="btnCom" OnClick="btnNo_Click" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="height: 30px;">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
